package com.myblog.service.impl;

import com.myblog.mapper.Indexmapper;
import com.myblog.pojo.IndexArticle;
import com.myblog.service.Indexservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Indexserviceimpl implements Indexservice {
    @Autowired
    private Indexmapper indexmapper;

    @Override
    public List<IndexArticle> findindex_article() {
        return indexmapper.findindex_article();
    }
}
